package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.List;

@MappingTable(tableName = "BASE_PROVINCE")
public class Province extends BaseObject {
	private static final long serialVersionUID = -4109208558635138608L;
	@MappingColumn(columnName = "PROVINCE_ID", columnPk = true, columnLength = 32)
	private String provinceId;
	@MappingColumn(columnName = "PROVINCE_CODE")
	private String provinceCode;
	@MappingColumn(columnName = "PROVINCE_NAME")
	private String provinceName;
	@MappingColumn(columnName = "PROVINCE_SEQ")
	private Integer provinceSeq;
	@MappingColumn(columnName = "PROVINCE_PINYIN")
	private String provincePinyin;
	@MappingColumn(columnName = "PROVINCE_INITIAL")
	private String provinceInitial;
	@MappingColumn(columnName = "PROVINCE_STATE")
	private Integer provinceState;

	private List<City> citys;

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public Integer getProvinceSeq() {
		return provinceSeq;
	}

	public void setProvinceSeq(Integer provinceSeq) {
		this.provinceSeq = provinceSeq;
	}

	public String getProvincePinyin() {
		return provincePinyin;
	}

	public void setProvincePinyin(String provincePinyin) {
		this.provincePinyin = provincePinyin;
	}

	public String getProvinceInitial() {
		return provinceInitial;
	}

	public void setProvinceInitial(String provinceInitial) {
		this.provinceInitial = provinceInitial;
	}

	public Integer getProvinceState() {
		return provinceState;
	}

	public void setProvinceState(Integer provinceState) {
		this.provinceState = provinceState;
	}

	public List<City> getCitys() {
		return citys;
	}

	public void setCitys(List<City> citys) {
		this.citys = citys;
	}
}
